#pragma once

// Copyright (c) 2010 Manuel Peinado Gallego <manuel.peinado@gmail.com>
// Distributed under the MIT license


#include <alg3d/alg3d.h>


class Ray 
{
public:
    Ray(const gx::Vec3 & o, const gx::Vec3 & d);
    gx::Vec3 origin;
    gx::Vec3 direction; // unit vector
};

Ray applyTransform(const Ray & ray, const gx::Mat4 & m);